#include <cstdio>
#include <algorithm>

struct Grade{
    int score;
    int index;
} grades[110];

bool MyCompare(const Grade& a, const Grade& b){
    return a.score > b.score;
}

/**
 * 
 * 时间复杂度 O(nlogn)
 * 空间复杂度 O(1)
 * 
 * 成绩排序
 * 
 */
int main(){
    int n;
    scanf("%d", &n);

    for(int i = 0; i < n; i++){
        Grade g;
        scanf("%d", &g.score);
        g.index = i + 1;
        grades[i] = g;
    }

    std::sort(grades, grades + n, MyCompare);

    for(int i = 0; i < n; i++){
        printf("%d ", grades[i].index);
    }

 

    return 0;
}